        <!DOCTYPE html>
        <html>
        <head>
                <meta charset="utf-8">
        <title>ContactID class / box2d Library / Dart Documentation</title>
        <link rel="stylesheet" type="text/css"
            href="../styles.css">
        <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,800" rel="stylesheet" type="text/css">
        <link rel="shortcut icon" href="../favicon.ico">
        
        </head>
        <body data-library="box2d" data-type="ContactID">
        <div class="page">
        <div class="header">
          <a href="../index.html"><div class="logo"></div></a>
          <a href="../index.html">Dart Documentation</a>
         &rsaquo; <a href="../box2d.html">box2d</a> &rsaquo; <a href="../box2d/ContactID.html">ContactID</a>        <div id="search-box">
          <input type="search" name="q" id="q" autocomplete="off"
              class="search-input" placeholder="Search API">
        </div>
        
      </div>
      <div class="drop-down" id="drop-down"></div>
      
        <div class="nav">
        
</div>
<div class="content">
        <h2><strong>ContactID</strong>
          class
        </h2>
        
<button id="show-inherited" class="show-inherited">Hide inherited</button>
<div class="doc">
<pre class="source">
class ContactID {
 /** The features that intersect to form the contact point */
 final Features features;

 /**
  * Constructs a new ContactID. */
 ContactID() : features = new Features();

 /**
  * Constructs a ContactID that is a copy of the given ContactID.
  */
 ContactID.copy(ContactID other) :
   features = new Features.copy(other.features);

 /**
  * Returns true if this ContactID equals the given ContactID.
  */
 bool operator ==(other) =&gt; other.features == features;

 /**
  * Sets this contactID to be equal to the given ContactID.
  */
 void setFrom(ContactID other) { features.setFrom(other.features); }

 /**
  * Returns true if this ContactID equals the given ContactID.
  */
 bool isEqual(ContactID other) =&gt; other.features == features;

 /**
  * Zeroes out the data.
  */
 void zero() { features.zero(); }
}
</pre>
</div>
<div>
<h3>Constructors</h3>
<div class="method"><h4 id="ContactID">
<button class="show-code">Code</button>
new <strong>ContactID</strong>() <a class="anchor-link" href="#ContactID"
              title="Permalink to ContactID.ContactID">#</a></h4>
<div class="doc">
<p>Constructs a new ContactID. </p>
<pre class="source">
ContactID() : features = new Features();
</pre>
</div>
</div>
<div class="method"><h4 id="ContactID.copy">
<button class="show-code">Code</button>
new <strong>ContactID.copy</strong>(<a href="../box2d/ContactID.html">ContactID</a> other) <a class="anchor-link" href="#ContactID.copy"
              title="Permalink to ContactID.ContactID.copy">#</a></h4>
<div class="doc">
<p>Constructs a ContactID that is a copy of the given ContactID.</p>
<pre class="source">
ContactID.copy(ContactID other) :
 features = new Features.copy(other.features);
</pre>
</div>
</div>
</div>
<div>
<h3>Properties</h3>
<div class="field"><h4 id="features">
<button class="show-code">Code</button>
final <a href="../box2d/Features.html">Features</a>         <strong>features</strong> <a class="anchor-link"
            href="#features"
            title="Permalink to ContactID.features">#</a>
        </h4>
        <div class="doc">
<pre class="source">
features
</pre>
</div>
</div>
</div>
<div>
<h3>Operators</h3>
<div class="method"><h4 id="==">
<button class="show-code">Code</button>
bool <strong>operator ==</strong>(other) <a class="anchor-link" href="#=="
              title="Permalink to ContactID.operator ==">#</a></h4>
<div class="doc">
<p>Returns true if this ContactID equals the given ContactID.</p>
<pre class="source">
bool operator ==(other) =&gt; other.features == features;
</pre>
</div>
</div>
</div>
<div>
<h3>Methods</h3>
<div class="method"><h4 id="isEqual">
<button class="show-code">Code</button>
bool <strong>isEqual</strong>(<a href="../box2d/ContactID.html">ContactID</a> other) <a class="anchor-link" href="#isEqual"
              title="Permalink to ContactID.isEqual">#</a></h4>
<div class="doc">
<p>Returns true if this ContactID equals the given ContactID.</p>
<pre class="source">
bool isEqual(ContactID other) =&gt; other.features == features;
</pre>
</div>
</div>
<div class="method"><h4 id="setFrom">
<button class="show-code">Code</button>
void <strong>setFrom</strong>(<a href="../box2d/ContactID.html">ContactID</a> other) <a class="anchor-link" href="#setFrom"
              title="Permalink to ContactID.setFrom">#</a></h4>
<div class="doc">
<p>Sets this contactID to be equal to the given ContactID.</p>
<pre class="source">
void setFrom(ContactID other) { features.setFrom(other.features); }
</pre>
</div>
</div>
<div class="method"><h4 id="zero">
<button class="show-code">Code</button>
void <strong>zero</strong>() <a class="anchor-link" href="#zero"
              title="Permalink to ContactID.zero">#</a></h4>
<div class="doc">
<p>Zeroes out the data.</p>
<pre class="source">
void zero() { features.zero(); }
</pre>
</div>
</div>
</div>
        </div>
        <div class="clear"></div>
        </div>
        <div class="footer">
          
        </div>
        <script async src="../client-live-nav.js"></script>
        </body></html>
        
